c program to find any number x^y